/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2302 - Ex5
 * <p>Powered by webrx On 2023-06-20 09:32:05
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Ex5 {
    public static void main(String[] args) {
        System.out.println("".isBlank());
        System.out.println("".isEmpty());

        System.out.println("  ".isBlank());//空格字符串  空字符串
        System.out.println("  ".isEmpty());

        System.out.println(null == "");

        String pwd = null;
        if("123".equals(pwd)){
            System.out.println("密码正确");
        }else{
            System.out.println("密码错误");
        }
    }
}
